package com.csp.app.client;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.csp.app.entity.Admin;
import com.csp.app.entity.Clasz;
import com.csp.app.entity.Course;
import com.csp.app.entity.Exam;
import com.csp.app.entity.ExamGroup;
import com.csp.app.entity.Score;
import com.csp.app.entity.Student;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;
@Component
public class ServerHystrix implements ServiceClient{
    @Override
    public Admin login(Admin admin) {
        return null;
    }

    @Override
    public List<Clasz> searchAllClass() {
        return null;
    }

    @Override
    public List<Clasz> selectClassList(EntityWrapper<Clasz> wrapper) {
        return null;
    }

    @Override
    public boolean addClasz(Clasz clasz) {
        return false;
    }

    @Override
    public boolean batchAddClass(List<Clasz> claszs) {
        return false;
    }

    @Override
    public List<Course> searchAllCourse() {
        return null;
    }

    @Override
    public boolean batchAddCourse(List<Course> courses) {
        return false;
    }

    @Override
    public boolean addExamGroup(ExamGroup examGroup) {
        return false;
    }

    @Override
    public Integer selectExamGroupCount(EntityWrapper<ExamGroup> wrapper) {
        return null;
    }

    @Override
    public Page<ExamGroup> selectExamGroupPage(Page<ExamGroup> page, EntityWrapper<ExamGroup> wrapper) {
        return null;
    }

    @Override
    public boolean batchAddExamGroup(List<ExamGroup> examGroups) {
        return false;
    }

    @Override
    public List<ExamGroup> searchAllExamGroup() {
        return null;
    }

    @Override
    public List<Exam> searchAllExam() {
        return null;
    }

    @Override
    public Integer selecExamCout(EntityWrapper<Exam> wrapper) {
        return null;
    }

    @Override
    public Page<Exam> selectExamPage(Page<Exam> page, EntityWrapper<Exam> wrapper) {
        return null;
    }

    @Override
    public boolean addExam(Exam exam) {
        return false;
    }

    @Override
    public boolean batchAddExam(List<Exam> exams) {
        return false;
    }

    @Override
    public List<Exam> getExamsByGroupId(Integer groupId) {
        return null;
    }

    @Override
    public boolean addScore(Score score) {
        return false;
    }

    @Override
    public boolean batchAddScore(List<Score> scores) {
        return false;
    }

    @Override
    public Page getPersonScores(Student student, Integer examGroupId, Integer page, Integer limit, String orderField, String orderType) {
        return null;
    }

    @Override
    public JSONArray getGradeScore(Integer examGroupId) {
        return null;
    }

    @Override
    public List<Map> selectCourseScoreAvgByExamId(Integer examId) {
        return null;
    }

    @Override
    public List<Map> selectCourseScoreTotalByExamId(Integer examId) {
        return null;
    }

    @Override
    public Map<String, Map> searchCourseScoreAvgOrderMap(Integer examId) {
        return null;
    }

    @Override
    public Map searchCourseScoreTotalMap(Integer examId) {
        return null;
    }

    @Override
    public Map<Object, Integer> searchTotalScoreGradeOrderMap(Integer examGroupId) {
        return null;
    }

    @Override
    public Map<Object, Integer> searchTotalScoreClassOrderMap(Integer examGroupId, Integer classId) {
        return null;
    }

    @Override
    public Score getScoreByStudentAndExamId(Long studentId, Integer examId) {
        return null;
    }

    @Override
    public Map<Object, Integer> getClassScoreOrderMap(Integer examId, Integer classId) {
        return null;
    }

    @Override
    public Map<Object, Integer> getGradeScoreOrderMap(Integer examId) {
        return null;
    }

    @Override
    public JSONObject getClassScore(Integer classId, Integer examGroupId) {
        return null;
    }

    @Override
    public JSONArray getScoreShowTemplate(Integer examGroupId) {
        return null;
    }

    @Override
    public List analyzeCourseScoreScale(Integer examGroupId, Integer classId, Integer courseId, Integer minScore, Integer maxScore, Integer granularity) {
        return null;
    }

    @Override
    public List analyzeTotalScoreScale(Integer examGroupId, Integer classId, Integer minScore, Integer maxScore, Integer granularity) {
        return null;
    }

    @Override
    public boolean addStudent(Student student) {
        return false;
    }

    @Override
    public boolean batchAddStudent(List<Student> students) {
        return false;
    }

    @Override
    public List<Object> selectStudentsByExamGroupId(Integer examGroupId) {
        return null;
    }

    @Override
    public Page<Student> searchStudentSelectivePage(Student student, Integer page, Integer limit, String studentName, String orderFiled, String orderType) {
        return null;
    }

    @Override
    public Exam getExamFromCacheByKey(String key) {
        return null;
    }

    @Override
    public Course getCourseFromCacheByKey(String key) {
        return null;
    }

    @Override
    public Integer getScoreCount(EntityWrapper<Score> wrapper) {
        return null;
    }

    @Override
    public boolean updateScoreById(Score score) {
        return false;
    }

    @Override
    public Page<Score> selectScorePage(Page<Score> page, EntityWrapper<Score> wrapper) {
        return null;
    }

    @Override
    public List<Score> selectScoreList(EntityWrapper<Score> wrapper) {
        return null;
    }

    @Override
    public List<Course> selectCourseList(EntityWrapper<Course> wrapper) {
        return null;
    }

    @Override
    public boolean insertCourse(Course course) {
        return false;
    }
}
